#ifndef AUDIOFILEWIDGET_H
#define AUDIOFILEWIDGET_H

#include "models/databasemanager.h"
#include <QPushButton>
#include <QTableWidget>
#include <QWidget>
#include "touchbutton.h"
class AudioFileWidget : public QWidget
{
    Q_OBJECT
public:
    explicit AudioFileWidget(QWidget *parent = nullptr);
    virtual ~AudioFileWidget();
protected:
    void initUI();
    void saveData();
    void addNewRow(AudioFile file);
    void hideEvent(QHideEvent *event);

signals:

private:
    TouchButton* m_pNewButton;
    QTableWidget * m_pList;
};

#endif // AUDIOFILEWIDGET_H
